
import service from '../../request'
export const getSkuInfoPage = (pageNo,pageSize,searchMap) => {

    return service({
        url: `api/admin/product/sku/findPage/${pageNo}/${pageSize}`,
        method: 'post',
        data:searchMap
    })
};

export const onSale = (skuId) => {

    return service({
        url: `api/admin/product/sku/onSale/${skuId}`,
        method: 'get'
    })
};

export const cancelSale = (skuId) => {

    return service({
        url: `api/admin/product/sku/cancelSale/${skuId}`,
        method: 'get'
    })
};


